import vueRouter from 'vue-router'
import About from '../pages/About'
import Home from '../pages/Home'

// 创建并暴露一个路由器
export default new vueRouter({
    routes:[
        {
            path:'/about',
            component: About
        },
        {
            path:'/home',
            component: Home
        }
    ]
})